//
//  TradePriceSocketModel.h
//  BTCoin
//
//  Created by Robin on 30/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//

#import "BaseModel.h"

@interface TradePriceSocketModel : BaseModel

DEFINE_SINGLETON_FOR_HEADER(TradePriceSocketModel)

@property (nonatomic,assign) NSInteger stockId;
@property (nonatomic,assign) double closePrice;
@property (nonatomic,assign) double openPrice;
@property (nonatomic,assign) double newPrice;
@property (nonatomic,assign) long long time;
@property (nonatomic,assign) long long volume;
@property (nonatomic,assign) long long amount;
@property (nonatomic,assign) double maxPrice;
@property (nonatomic,assign) double minPrice;
@property (nonatomic,assign) double averagePrice;
@property (nonatomic,assign) NSInteger strokeCount;
@property (nonatomic,copy) NSArray * buys;
@property (nonatomic,copy) NSArray * sells;

- (void)updateData:(TradePriceSocketModel *)newModel;
@end
